<template>
  <el-table :data="tableData" style="width: 100%">
    <el-table-column prop="parentId" label="日期" width="180">
    </el-table-column>
    <el-table-column prop="name" label="姓名" width="180"> </el-table-column>
    <el-table-column prop="typeId" label="姓名" width="180"> </el-table-column>
    <el-table-column prop="sort" label="姓名" width="180"> </el-table-column>
    <el-table-column prop="imageUrl" label="姓名" width="180">
    </el-table-column>
  </el-table>
</template>

<script>
export default {
  data() {
    return {
      tableData: [{}],
    };
  },
  mounted() {
    this.$axios
      .get("https://localhost:44389/api/app/goods-category/goods-category-list")
      .then((res) => {
        this.tableData = res.data;
        console.log(res);
      });
  },
};
</script>